package edu.ccut.saturn.manager.dict.impl;

import org.osgi.framework.BundleContext;

import edu.ccut.saturn.core.SaturnActivator;
import edu.ccut.saturn.core.IConstants;
import edu.ccut.saturn.core.ServiceFactory;

public class Activator extends SaturnActivator {

	private static String serverLocation = null;

	public void doStart(BundleContext context) throws Exception {
		serverLocation = ServiceFactory.getPropertiesService().getProperty(

		IConstants.SATURN_SERVER_LOCATION);

	}

	public void doStop(BundleContext context) throws Exception {

		// stopActionRegistor(context);
	}

	public static String getServerLocation() {

		return serverLocation;
	}
}